package fhjoanneum.itm11.antesk.simplehack;

public class ItemSmallPotion extends Item implements InventoryInterface
{
	// Constructors ------------------------------------------------------
	ItemSmallPotion()
	{
		setName("Small Potion");
		setDescription("Restores 10 HP");
		setTest("s");
	}
	
	// Methods ===========================================================
	
	// Use ---------------------------------------------------------------
	public boolean use(Character character)
	{
		character.setHitpoints(character.getHitpoints() + 10);
		System.out.println(character.getName() + 
				" drinks the small potion. 10 HP restored.");
		return true;
	}
}
